package com.sunelec.mapper;

import java.util.List;

import com.sunelec.pojo.Relationship2;
import com.sunelec.pojo.Relationship2Example;
import org.apache.ibatis.annotations.Param;

public interface Relationship2Mapper {
    int countByExample(Relationship2Example example);

    int deleteByExample(Relationship2Example example);

    int deleteByPrimaryKey(String id);

    int insert(Relationship2 record);

    int insertSelective(Relationship2 record);

    List<Relationship2> selectByExample(Relationship2Example example);

    Relationship2 selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") Relationship2 record, @Param("example") Relationship2Example example);

    int updateByExample(@Param("record") Relationship2 record, @Param("example") Relationship2Example example);

    int updateByPrimaryKeySelective(Relationship2 record);

    int updateByPrimaryKey(Relationship2 record);
}